a,b,c = map(int,input().split())
d = a + b + c
print(format(d/3,".6f"))